<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{Title} (List) </title>
<link rel="stylesheet" href="../../css/mem_main.css" type="text/css">
<script language="JavaScript" src="/inc/admin_envirset.js"></script>
<script language="JavaScript">
<!--
strRowClassName = "clef";

function Del(intID){
	if(confirm("{_SureDel}")){
		with(document.DelForm){
			ID.value = intID;
			submit();
		}
	}
}
function Edit(intID){
	with(document.EditForm){
		ID.value = intID;
		submit();
	}
}
function Page(intPage){
	with(document.ListForm){
		Page.value = intPage;
		submit();
	}
}
function ChangePage(){
	with(document.ListForm){
		Page.value = document.PageJump.pageview.value;
		submit();
	}
}
function LogWindow(intMqID){
	if(intMqID == "")return;
	tLeft = (screen.width - 810) / 2;
	tTop = (screen.height - 300) / 2;
	msgWindow = window.open("index.php?op=LogList&MqID="+intMqID, "LogWin", "toolbar=no,width=810,height=300,directories=no,status=no,scrollbars=yes,menubar=no,top="+tTop+",left="+tLeft);
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<table width="770" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Title}:  {_Sum}: 
      <select onChange="Page(this.value)">
        {PageSelectOpion}
      </select>
      /{intTotalPage}{_Page} -- 
      <input type="button" value="{_Add}" class="zabutton" onClick="location.href='index.php?op=Add'">
      <input type="button" value="{_List}" class="zabutton" onClick="location.href='index.php?op=Lists'">
      <input type="button" value="{_Search}" class="zabutton" onClick="location.href='index.php?op=Search'">
    </td>
  </tr>
</table>

<div class="ctabdv"> 
  <table width="850" border="0" cellspacing="1" cellpadding="0" class="ctab">
    <tr class="ctiga"> 
      <td width="42">{ID}</td>
      <td width="200">{Content}</td>
      <td width="100">{isSystem}</td>
      <td width="100">{isPopup}</td>
      <td width="50">{isOnline}</td>
	  <td width="100">{OnDate}</td>
	  <td width="100">{OffDate}</td>
      <td>{Setup}</td>
    </tr>
<!-- @ Content Start @ //-->
    <tr class="clef"> 
      <td align="center">{ShowID}</td>
      <td>{ShowContent}</td>
	  <td align="center">{ShowisSystem}</td>
      <td align="center">{ShowisPopup}</td>
	  <td align="center">{ShowisOnline}</td>
      <td align="center">{ShowOnDate}</td>
	  <td align="center">{ShowOffDate}</td>
      <td><a href="JavaScript:Edit({ShowID})">{_Edit}</a> / <a href="JavaScript:Del({ShowID})">{_Del}</a> / <a href="JavaScript:LogWindow({ShowID})">{_Log}</a></td>
    </tr>
<!-- @ Content End @ //-->
    <tr class="cmto"> 
      <td colspan="8">{_Sum} {intTotal} {_No}</td>
    </tr>
  </table>
</div>

<form method="Get" Action="index.php" name="DelForm">
	<input type="hidden" name="op" value="Del">
	<input type="hidden" name="ID" value="">
	<input type="hidden" name="Page" value="{intPageNow}">
</form>

<form method="Get" Action="index.php" name="EditForm">
	<input type="hidden" name="op" value="Edit">
	<input type="hidden" name="ID" value="">
	<input type="hidden" name="Page" value="{intPageNow}">
</form>

<form method="Get" Action="index.php" name="ListForm">
	<input type="hidden" name="op" value="List">
	<input type="hidden" name="totalpage" value="{intTotalPage}">
	<input type="hidden" name="Page" value="{intPageNow}">
</form>
</body>
</html>
